package com.stlm2.dems.user.dao;

import com.stlm2.dems.user.entity.Account;
import com.stlm2.core.base.BaseDao;
import com.stlm2.dems.user.entity.AccountType;

import java.util.List;

public interface AccountDao extends BaseDao<Account> {
    public  Account getByUserId(int userId);


    Account getByOwnerId(Integer ownerId);

    Account getByIdForUpdate(Integer id);
}